package org.springframework.samples.petclinic

import java.lang.Integer
import scala.reflect.BeanProperty

class BaseEntity(@BeanProperty var id:Integer) {
  
  def this() = this(null)

  def isNew:Boolean = id == null
}